package com.demo.hxs.controller;

import com.demo.hxs.service.ExcelExportService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ExcelExportController {
    @Resource
    private ExcelExportService excelExportService;
    @GetMapping("/printExcel")
    public Object printExcel(){
        return excelExportService.printExcel();
    }
}
